package com.ruoyi.common.core.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author linxz
 * @since 2024-12-25
 *
 *
 */

@Data
@EqualsAndHashCode(callSuper = false)
public class Section extends Model<Section> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 业务类型
     * */
    private String bsType;
    private String deviceType;

    /**
     * 模块类型0视频，1图片 2轮播图
     */
    private String sectionType;

    /**
     * 背景图
     */
    private String bgUrl;

    /**
     * 背景图2
     * */
    private String bgEndUrl;

    /**
     * 视频地址
     */
    private String videoUrl;

    /**
     * 产品链接
     */
    private String productUrl;

    /**
     * 标题
     */
    private String title;

    /**
     * 标题英文
     */
    private String titleEn;

    /**
     * 产品描述
     */
    private String productDesc;

    /**
     * 产品描述英文
     */
    private String productDescEn;

    /**
     * 轮播图集合
     */
    private String bannerList;

    /**
     * 按钮跳转地址
     * */
    private String btnLink;

    private int sort;



    private Integer status;

    private String createBy;

    private LocalDateTime createTime;

    private String updateBy;

    private LocalDateTime updateTime;

    private String remark;
    private String bannerSectionName;
    private String bannerIdList;
    private String sectionName;
    private String locate;

    public String getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
    }

    public String getBsType() {
        return bsType;
    }

    public void setBsType(String bsType) {
        this.bsType = bsType;
    }

    public String getBgEndUrl() {
        return bgEndUrl;
    }

    public void setBgEndUrl(String bgEndUrl) {
        this.bgEndUrl = bgEndUrl;
    }

    public String getBtnLink() {
        return btnLink;
    }

    public void setBtnLink(String btnLink) {
        this.btnLink = btnLink;
    }

    public String getSectionName() {
        return sectionName;
    }

    public void setSectionName(String sectionName) {
        this.sectionName = sectionName;
    }

    public String getBannerIdList() {
        return bannerIdList;
    }

    public void setBannerIdList(String bannerIdList) {
        this.bannerIdList = bannerIdList;
    }

    @Override
    public Serializable pkVal() {
        return this.id;
    }

    public String getBannerSectionName() {
        return bannerSectionName;
    }

    public void setBannerSectionName(String bannerSectionName) {
        this.bannerSectionName = bannerSectionName;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSectionType() {
        return sectionType;
    }

    public void setSectionType(String sectionType) {
        this.sectionType = sectionType;
    }

    public String getBgUrl() {
        return bgUrl;
    }

    public void setBgUrl(String bgUrl) {
        this.bgUrl = bgUrl;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public String getProductUrl() {
        return productUrl;
    }

    public void setProductUrl(String productUrl) {
        this.productUrl = productUrl;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTitleEn() {
        return titleEn;
    }

    public void setTitleEn(String titleEn) {
        this.titleEn = titleEn;
    }

    public String getProductDesc() {
        return productDesc;
    }

    public void setProductDesc(String productDesc) {
        this.productDesc = productDesc;
    }

    public String getProductDescEn() {
        return productDescEn;
    }

    public void setProductDescEn(String productDescEn) {
        this.productDescEn = productDescEn;
    }

    public String getBannerList() {
        return bannerList;
    }

    public void setBannerList(String bannerList) {
        this.bannerList = bannerList;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getLocate() {
        return locate;
    }

    public void setLocate(String locate) {
        this.locate = locate;
    }
}
